notebook: don't forget to prepare the tab style context before drawing
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 29 Sep 2011 05:49:55 +0000 (01:49 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 29 Sep 2011 05:49:55 +0000 (01:49 -0400)
The previous commit a9affcdd3f9c888c5e68dc76b0c5173d918bc725
accidentally removed the call to notebook_tab_prepare_style_context()

gtk/gtknotebook.c

index 53213a75090ae3b166dfed43875c2bca012fa3f9..a6bf731aa51e3ef149d61f080a5897e5aa3f3803 100644 (file)
@@ -5266,6 +5266,7 @@ gtk_notebook_draw_tab (GtkNotebook     *notebook,
 
   context = gtk_widget_get_style_context (widget);
   gtk_style_context_save (context);
+  notebook_tab_prepare_style_context (notebook, page, context, use_flags);
 
   gtk_render_extension (context, cr,
                        page->allocation.x,